package com.sss.service;

import com.sss.model.Doctor;
import com.sss.model.DoctorVO;
import org.springframework.stereotype.Service;

import java.util.HashMap;
import java.util.List;

/**
 * 全世界我最爱朴彩英！
 *
 * @Author sss
 * @Create 2023/12/1 20:40
 * @desc
 */
public interface DoctorService{

    Doctor findById(int id);

    List<Doctor> findAll();

    Doctor partFind(String name, int hip);

    Doctor ByMapFind(HashMap<String, Object> map);

    int updateDoc(Doctor doctor);

    int register(Doctor doctor);

    int deleteDoc(int id);

    DoctorVO DocWithHosById(int id);
}
